#ifndef __CLIENT_TEST_H__
#define __CLIENT_TEST_H__

#pragma once

#include <cppunit/extensions/HelperMacros.h>

#include <ballade/smartclient.h>

namespace Ballade
{
	namespace SmartClient
	{
		class ClientTest : public CppUnit::TestFixture
		{
			CPPUNIT_TEST_SUITE(ClientTest);
			CPPUNIT_TEST(testGetIPAddress);
			CPPUNIT_TEST(testGetPort);
			CPPUNIT_TEST(testSetIPAddress);
			CPPUNIT_TEST(testSetPort);
			CPPUNIT_TEST(testIsConnected);
			CPPUNIT_TEST(testConnect);
			CPPUNIT_TEST_SUITE_END();
		public:
			void setUp();
			void tearDown();
			void testGetIPAddress();
			void testGetPort();
			void testSetIPAddress();
			void testSetPort();
			void testIsConnected();
			void testConnect();

		private:
			Client *_client;
		};
	}
}

#endif